package kr.hkit.androidcomplete02.ch11;

import kr.hyunist.androidcomplete01.*;
import android.app.*;
import android.content.*;
import android.os.*;
import android.view.*;

public class Ch11AMainActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch11_amain);
	}
	
	public void mOnClick(View v){
		Intent intent = null;
		switch(v.getId()){
		
		case R.id.ch11_btn01:
		intent = new Intent(this, RadioCheck.class);
		break;
		
		case R.id.ch11_btn02:
			intent = new Intent(this, ScaleTypeEx.class);
			break;
		
		case R.id.ch11_btn03:
			intent = new Intent(this, ImageViewEx.class);
			break;
			
		case R.id.ch11_btn04:
			intent = new Intent(this, ButtonDrawbleEx.class);
			break;	
			
		case R.id.ch11_btn05:
			intent = new Intent(this, ButtonSelectorEx.class);
			break;	
		}
		startActivity(intent);
	}
	
}
